package com.orphan.audit.controller;


import com.orphan.audit.service.IDepositService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;

import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.bind.annotation.RestController;

/**
 * <p>
 *  前端控制器
 * </p>
 *
 * @author wdn
 * @since 2021-07-15
 */
@RestController
@RequestMapping("/deposit")
public class DepositController {

    @Autowired
    IDepositService depositService;

    @RequestMapping("/test")
    @ResponseBody
    public Integer exist(){
        Integer count = depositService.exist(7l);
        System.out.println(count);
        return count;
    }

}
